home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++ / leda / 13 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  930 b 

  1. Path: news.coli.uni-sb.de!stefan
  2. From: stefan@mpi-sb.mpg.de (Stefan Naeher)
  3. Newsgroups: comp.lang.c++.leda
  4. Subject: Re: Modifying int value in v->data[0] in GRAPH
  5. Date: 12 Feb 1996 08:19:42 GMT
  6. Organization: MPI Informatik
  7. Message-ID: <4fmt6u$56e@coli-gate.coli.uni-sb.de>
  8. References: <DMI23K.4Io@beaver.cs.washington.edu>
  9. NNTP-Posting-Host: robin.ag1.mpi-sb.mpg.de
  10. Keywords: GRAPH data[0]
  11.  
  12. In article <DMI23K.4Io@beaver.cs.washington.edu> soha@cs.washington.edu (Soha Hassoun) writes:
  13. >
  14. >I have a GRAPH<my_node_info, my_edge_info> G.  After I finish
  15. >constructing the graph G, I would like to change the value of an
  16. >integer K that is a member of the class my_node_info.
  17. >Is there support for doing this?
  18. >
  19.  
  20.  
  21. GRAPH<my_node_info,my_edge_info> G;
  22. ...
  23. G[v].K = 17;
  24.  
  25.  
  26. --
  27.  
  28.  
  29. -------------------------------------------------------------------------------
  30. Stefan N"aher                                      e-mail: stefan@mpi-sb.mpg.de
  31.